package com.tek.ding.faceding.presenter.camera;

import com.tek.ding.faceding.base.BaseView;
import com.tek.ding.faceding.bean.BaseBean;
import com.tek.ding.faceding.bean.Members;

import io.reactivex.rxjava3.core.Observable;


public interface CameraContract {

    interface ICameraModel {
        Observable<BaseBean<String>> addFaceEntity2(String storeUid,String memberUid, String photoUrl);

        Observable<BaseBean<String>> toShopFace2(String storeUid,String faceImg);

        Observable<BaseBean<String>> leaveShopFace2(String storeUid,String faceImg);

        Observable<BaseBean<Members>> getMemberByFaceImg2(String storeUid,String faceImg);
    }

    interface CameraView extends BaseView {
        void addFaceEntityOk(BaseBean<String> baseBean);

        void toShopFaceOk(BaseBean<String> baseBean);

        void leaveShopFaceOk(BaseBean<String> baseBean);

        void getMemberByFaceImgOk(BaseBean<Members> baseBean);
    }

}
